<!--conf
<sample>
              <product version="1.5" edition="std"/>
                     <modifications>
                            <modified date="070101"/>
                     </modifications>
               </sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	

<title>Drag and Drop</title>

</head>

<body>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
	
	<h1>Drag and Drop</h1>
	<p>This JavaScript tree menu has extended drag-and-drop functionality 
	(within one tree, between trees, between frames). Drop-as-sibling behavior makes 
	it easy to reorder nodes in a tree view. 
You can easily edit the tree by dragging nodes within one tree or between trees or even to another object.</p>
	

	<table>
		<tr>
			<td valign="top">

				<div id="treeboxbox_tree" style="width:250px; height:218px;background-color:#f5f5f5;border :1px solid Silver;overflow:hidden"></div><br>
			
				
			</td>
			<td style="padding-left:25px" valign="top">
			
				<div id="treeboxbox_tree2" style="width:250px; height:218px;background-color:#f5f5f5;border :1px solid Silver;overflow:hidden"></div><br>
			

			</td>
		</tr>

	</table>
<p>	Drag-and-Drop works in each tree and between trees too. </p>
	
	
 
	<script>
	
			tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);

	
			tree.setSkin('dhx_skyblue');
			tree.setImagePath("../../../codebase/imgs/dhxtree_skyblue/");
			tree.enableDragAndDrop(true);
			tree.loadXML("../common/tree_05_drag_n_drop.xml");
			

			tree2=new dhtmlXTreeObject("treeboxbox_tree2","100%","100%",0);

			

			tree2.setSkin('dhx_skyblue');
			tree2.setImagePath("../../../codebase/imgs/dhxtree_skyblue/");
			tree2.enableDragAndDrop(true);
			tree2.loadXML("../common/tree_05_drag_n_drop.xml");
			

	</script>

</body>
</html>
